import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/balance_DRN_bill_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/balance_DRN_bill_entity.g.dart';

@JsonSerializable()
class BalanceDRNBillEntity {
	String? id;
	double? gameType;
	double? createdAt;
	double? outIn;
	double? drnAmount;
	double? year;
	double? month;
	double? day;
	double? type;
	String? userId;
	String? withalRecordId;
	double? deletedAt;
	double? sales;
	double? income;
	double? level1Sales;
	double? level1Income;
	double? level2Sales;
	double? level2Income;
	double? level3Sales;
	double? level3Income;
	double? consumeDrnAmount;
	double? consumeDrnIncome;
	double? pledgeDrnAmount;
	double? pledgeDrnIncome;
	String? walletAddress;
	double? withdrawState;
	String? typeItem;

	BalanceDRNBillEntity();

	factory BalanceDRNBillEntity.fromJson(Map<String, dynamic> json) => $BalanceDRNBillEntityFromJson(json);

	Map<String, dynamic> toJson() => $BalanceDRNBillEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}